package com.wulis.common.model.dto;

import javax.persistence.Transient;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author WuliBao
 */
@Data
@ApiModel(description = "分页DTO")
public class PageDto {
    @NotNull
    @Transient
    @ApiModelProperty("页码")
    private Integer pageNumber;
    
    @NotNull
    @Transient
    @ApiModelProperty("页面大小")
    private Integer pageSize;
}
